package com.example.demo.application.integration;

import org.springframework.web.bind.annotation.PostMapping;

import com.alibaba.fastjson.JSONObject;
import com.example.demo.application.dto.Result;
import com.example.demo.application.dto.UserBodyDto;
import com.example.demo.application.dto.UserReq;

 public interface UserFeignClient {

	 @PostMapping("/user/getById")
	 Result<UserBodyDto> getById(UserReq userReq);
	
	 @PostMapping("/user/getById")
	 JSONObject getUserById(UserReq userReq);
	
 }
